template.helper('json2string', function (data) {
    var result = JSON.stringify(data);
    return result;
});
template.helper('dateFormat', function (timestamp, formats) {
    return utils.dateFormat(timestamp, formats);
});
template.helper('dateDiff', function (timestamp) {
    return utils.dateDiff(timestamp);
});